<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<h3>Sign up and start now. <br>It's free.</h3>
<div style="height: 15px;" class="questionnaire_submit_button"></div>
<div id="regFormMessageDiv" style="display: none;" class='error'>
		<img style="height:20px; float: left;" alt="error" src="/static/images/ERROR.gif" /> <span id="regFormMessage" > 
	</span>
</div>
<form:form  action="javascript:void(0)" dojoType="dijit.form.Form" commandName="newUser" id="registerForm"	data-dojo-id="registerForm">
	<table>
		<tr>
			<td>Email Address:</td>
			<td>
				<form:input path="email"  type="text" required="true" placeholder="Email Address" 
					dojoType="dijit.form.ValidationTextBox" missingMessage="Please Enter Email Address" />
			</td>
		</tr>
		<tr>
			<td>Password:</td>
			<td>
				<form:input path="password"  type="password" required="true" 
					dojoType="dijit.form.ValidationTextBox" missingMessage="Please Enter password" />
			</td>
		</tr>
		<tr>
			<td style="width: 170px">
				Please Select if Signing up as a Company
			</td>
			<td>
				<form:checkbox path="isCompany" dojoType="dijit.form.CheckBox"/> 
			</td>
		</tr>
		<tr>
			<td colspan='2'>
				<div class="questionnaire_submit_button">
					<button style="margin-left: 30px; margin-top: 20px;"  type="submit" name="submit" value="submit" id="userRegisterSubmitButton" class="ui-action-tag action-primary"><span class="ui-action"><span class="ui-action-content">Sign Up</span></span></button>
					<span class="signup_message">By clicking Sign Up you agree to our <a href="javascript:void(0);">terms of use</a> and <a href="javascript:void(0);">privacy policy</a> </span>
				</div>
			</td>
		</tr>
		
	</table>
	
</form:form>